home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / ForCLI / du10.lha / du / du.doc < prev    next >
Text File  |  1992-11-02  |  3KB  |  98 lines

  1. DU(1)                    USER COMMANDS                      DU(1)
  2.  
  3.  
  4. NAME
  5.      du - display the number of disk blocks used per directory or
  6.      file
  7.  
  8. SYNOPSIS
  9.      du DIR/M,BYTE/S,KBYTE/S,ALL/S,SHORT/S,NOINFO/S
  10.  
  11. DESCRIPTION
  12.      du  gives  the  number of blocks contained in all files and,
  13.      recursively,  directories within each specified directory or
  14.      file DIR.  If DIR is missing `""' (the current directory) is
  15.      used).
  16.  
  17. OPTIONS
  18.      BYTE   Display number of used bytes instead of blocks.
  19.      KBYTE  Display number of used kB instead of blocks.
  20.      ALL    Generate an entry for each file.
  21.      SHORT  Only display the grand total for each of the 
  22.             specified DIR's.
  23.      NOINFO Don't show .info files.
  24.      Entries are generated only for each directory in the absence
  25.      of options.
  26.  
  27. NOTE
  28.      <number of blocks> != <bytes> / <blocksize>
  29.      The  byte  count  is  only the sum of the size of all files.
  30.      The  block count contains also the directory and file header
  31.      blocks.   So  the  block  count  is more meaningfull for the
  32.      state of a disk.
  33.  
  34. EXAMPLE
  35.      % cd ram:
  36.      % list all
  37.      ENV                          Dir ----rwed Today     16:09:32
  38.      Clipboards                   Dir ----rwed Today     16:09:30
  39.      T                            Dir ----rwed Today     17:11:21
  40.      3 directories - 6 blocks used
  41.  
  42.      Directory "ENV" on Monday 02-Nov-92
  43.      Kickstart                      6 ----rwed Today     16:09:32
  44.      Workbench                      5 ----rwed Today     16:09:32
  45.      ...
  46.      TOTAL: 41 files - 7 directories - 126 blocks used
  47.      % du
  48.      2       Ram Disk:ENV/sc
  49.      4       Ram Disk:ENV/Most
  50.      4       Ram Disk:ENV/AmigaGuide
  51.      24      Ram Disk:ENV/Sys
  52.      82      Ram Disk:ENV
  53.      0       Ram Disk:Clipboards
  54.      38      Ram Disk:T
  55.      126     Ram Disk:
  56.      % du short
  57.      126     Ram Disk:
  58.      % du ENV byte
  59.      185     env/sc
  60.      120     env/Most
  61.      93      env/AmigaGuide
  62.      3284    env/Sys
  63.      8455    env
  64.      %
  65.  
  66. DIAGNOSTICS
  67.      *** break: You have pressed Ctrl-C, havn't you? :-)
  68.      xxx not found: File/directory xxx coudn't be found.
  69.      Error in pattern xxx: You have used a bogus file pattern.
  70.      Not enough memory: du need's more memory.
  71.      Can't lock xxx: (internal error)  Do  you  have  deleted the 
  72.          file xxx?
  73.      Can't examine xxx: (internal error)  Can't examine file xxx?
  74.      Can't get name from lock:  (internal error)  Can't  get  the
  75.          name of the current directory.
  76.  
  77. SEE ALSO
  78.      info(1), cd(1), list(1)
  79.  
  80. REQUIREMENTS
  81.      An Amiga with OS version 2.04 or higher.
  82.  
  83. BUGS
  84.      The  number  of  blocks,  reported by du is exactly the same
  85.      like the from c:list (at FFS), but it's not the fully truth.
  86.      du  doesn't count the file extension blocks, used by greater
  87.      files.
  88.  
  89. MORE BUGS
  90.      Probably.
  91.  
  92. AUTHOR
  93.      Georg Hessmann (hessmann@fmi.uni-passau.de)
  94.  
  95. COPYRIGHT
  96.      None. This program is in the public domain.
  97.  
  98.